﻿<Window x:Class="Editor.WindowLogin"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="数据维护平台-登录" Height="300" Width="400" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
	<Grid VerticalAlignment="Center">
		<Grid.RowDefinitions>
			<RowDefinition Height="30"/>
			<RowDefinition Height="30"/>
			<RowDefinition Height="30"/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="127*"/>
			<ColumnDefinition Width="267*"/>
		</Grid.ColumnDefinitions>
		<Label Content="用户名" HorizontalAlignment="Right" Grid.Row="0" VerticalAlignment="Center" VerticalContentAlignment="Center"/>
		<TextBox x:Name="ctr_UserName" Grid.Column="1" HorizontalAlignment="Left" Height="23" Margin="0" Grid.Row="0" TextWrapping="Wrap" Width="200" VerticalContentAlignment="Center" ToolTip="请输入用户名"/>
		<Label Content="密　码" HorizontalAlignment="Right" Grid.Row="1" VerticalAlignment="Center" VerticalContentAlignment="Center"/>
		<PasswordBox x:Name="ctr_Password" Grid.Column="1"  Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Left" Width="200" Height="23" VerticalContentAlignment="Center" ToolTip="请输入密码"/>
		<Button Content="登录" Height="23" HorizontalAlignment="Left" Name="button1" Width="74" Click="button1_Click" Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" IsDefault="True" />
	</Grid>
</Window>
